package com.yaolonga.dc.core;

import com.yaolonga.dc.core.enums.LogicType;
import com.yaolonga.dc.core.enums.NodeType;

import java.io.Serializable;

/**
 * @author yaolong
 * @version V1.0.0
 * @program dynamic-condition
 * @description
 * @create 2024-06-01 18:15
 **/
public interface Node extends Serializable {

    /**
     * <p>
     * getNodeType
     * </p>
     *
     * @return com.yalonga.dynamic.condition.api.parse.enums.NodeType
     * @version 1.0.0 <br>
     * @date 2024/6/1 18:28 <br>
     * @author yaolonga <br>
     */
    NodeType getNodeType();


    /**
     * <p>
     * getLogicType
     * </p>
     * @version 1.0.0 <br>
     * @date 2024/6/1 18:29 <br>
     * @author yaolonga <br>
     * @param
     * @return com.yalonga.dynamic.condition.api.parse.enums.LogicType
     */
    LogicType getLogicType();
}
